package visitor.general;

/**
 * @Author：LJ
 * @Description：具体业务对象
 * @Date: 2017/12/3
 * @Modified By:
 */
public class ConcreteElement1 extends Element {
    @Override
    void doSomething() {
        //业务处理逻辑
        System.out.println("ConcreteElement1");
    }

    @Override
    void accept(IVisitor visitor) {
        visitor.visit(this);
    }
}
